package com.panshi.api;


import com.panshi.util.CommonResult;
import com.panshi.bean.ArticlrVO;
import com.panshi.bean.PageSizeVO;
import io.swagger.annotations.Api;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

import java.util.List;
@FeignClient(value = "zhangkai")
@Api("文章接口")
public interface ArticlrPoth {

    @PostMapping("/artQu")
    @ResponseBody
    public List<List<ArticlrVO>> findArtQuery(@RequestBody PageSizeVO pageSizeVO);

    @PostMapping("/artDe/{aid}")
    @ResponseBody
    public CommonResult<String> deleteArt(int aid);

    @GetMapping("/artDeNo/{aid}")
    @ResponseBody
    public CommonResult<String> deleteArtNo(int aid);

}
